package com.sqx.modules.banner.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 活动推广
 */
@Data
@TableName("activity")
public class Activity implements Serializable {
    @TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "轮播id")
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private String createAt;

    @ApiModelProperty(value = "图片")
    private String imageUrl;

    @ApiModelProperty(value = "跳转地址")
    private String url;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "分类")
    private String state;

}
